package com.zking;


import org.reactivestreams.Subscriber;
import reactor.core.publisher.Flux;

public class springwebflux {
    public static void main(String[] args) {
        //reactor =jdk8 stream + jdk9 reactive stream
        //Mono 0-1元素
        //Flux 0-N个元素


        String [] str={"1","2","3"};
        //这里是jdk8的stream
        Flux.fromArray(str).map(s->Integer.parseInt(s));



    }
}
